package com.bobo.netty.service;

import com.bobo.netty.base.ResponseResult;
import com.bobo.netty.vo.UserFriendVO;
import com.bobo.netty.vo.UserVO;

import java.util.List;

/**
 * yangbo
 * 2020-01-04
 * netty-actual-combat
 **/
public interface UserService {
    ResponseResult<String> registerUser(UserVO userVO);

    ResponseResult<List<UserVO>> getAllUser(String userName);

    ResponseResult<String> login(UserVO userVO);

    ResponseResult<String> addFriend(UserFriendVO userFriendVO);

    ResponseResult<List<UserVO>> getMyFriendList(String id);
}
